PATH![]() |
![]() ![]() |
Arms the timer to expire at a given time.
OSStatus MPArmTimer (
MPTimerID timerID,
AbsoluteTime *expirationTime,
OptionBits options);
The expiration time is an absolute time, which you can generate by calling the UpTime function. When the timer expires, a notification is sent to the notification mechanism specified in the last MPSetTimerNotify call. If the specified notification ID has become invalid, no action is taken when the timer expires. The timer itself is deleted when it expires unless you specified the kMPPreserveTimerID option in the options parameter.